package com.yihaodian.search.code.model;


public class CodeSearchRequest {
	private String keyword;
	
	private int sortBy = SORT_SCORE;
	public static final int SORT_SCORE = 0;
	public static final int SORT_LAST_UPDATE = 1;
	
	private Attribute projectAttr;
	private Attribute fileTypeAttr;
	
	private int pageNo;
	
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public int getSortBy() {
		return sortBy;
	}
	public void setSortBy(int sortBy) {
		this.sortBy = sortBy;
	}
	public Attribute getProjectAttr() {
		return projectAttr;
	}
	public void setProjectAttr(Attribute projectAttr) {
		this.projectAttr = projectAttr;
	}
	public Attribute getFileTypeAttr() {
		return fileTypeAttr;
	}
	public void setFileTypeAttr(Attribute fileTypeAttr) {
		this.fileTypeAttr = fileTypeAttr;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
}
